//
//  YZMAuthCodeView.h
//  YZMicroStock
//
//  Created by Lv.Dongdong on 16/3/30.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, SEND_CODE_SCENE) {
    SEND_CODE_SCENE_FOR_REGISTER  = 1,      /*注册*/
    SEND_CODE_SCENE_FOR_FORGET_PWD = 2,         /*忘记登录密码*/
    SEND_CODE_SCENE_FOR_PAY = 3,  /*支付*/
    SEND_CODE_SCENE_FOR_FORGET_WITHDRAW = 4,     /*忘记提现密码*/
    SEND_CODE_SCENE_FOR_UNBIND_MOBILE = 5,  /*解绑手机号码*/
    SEND_CODE_SCENE_FOR_BIND_NEWMOBILE = 6  /*绑定手机号码*/
    
};

@interface YZMAuthCodeView : UIView

@property (nonatomic, strong) UILabel *hintlabel;
@property (nonatomic, copy) NSString *phoneStr;
@property (nonatomic, strong) UITextField *textField;
@property (nonatomic, strong) UITextField *phoneTextField;
@property (nonatomic, strong) NSTimer *timer;
@property (nonatomic, assign) SEND_CODE_SCENE scene;
@property (nonatomic, strong) void (^voiceAuthEvent)();
@property (nonatomic, readonly) BOOL getAuthFlag;

- (id)initWithScene:(SEND_CODE_SCENE)scene;

@end
